﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Main.Master" AutoEventWireup="true" CodeBehind="UsersList.aspx.cs" Inherits="DotNet.WebUI.Admin.UsersList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphContent" runat="server"> 
            <div class="SearchTool">
            <span style="padding:3px;">用户信息</span>
            <asp:TextBox ID="txtLoginID" runat="server"></asp:TextBox>
            <asp:LinkButton ID="btnSearch" class="easyui-linkbutton" runat="server" OnClick="btnSearch_Click">查&nbsp;&nbsp;询</asp:LinkButton>
            <asp:LinkButton ID="btnNew" class="easyui-linkbutton" runat="server" OnClick="btnNew_Click">新&nbsp;&nbsp;建</asp:LinkButton>
        </div>
        <table class="TableList">
            <tr class="Title">
                <td style="width:130px;"><b>登录账号</b></td>
                <td style="width:170px;"><b>姓名</b></td>
                <td style="width:70%;"><b>描述</b></td> 
                <td style="width:130px;"><b>操作</b></td>
            </tr>
            <asp:Repeater ID="rptData" runat="server" onitemcommand="rptData_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%# Eval("LoginID")%></td>
                        <td><%# Eval("UserName")%></td>
                        <td><%# Eval("Depict")%></td>
                        <td><asp:LinkButton ID="btnEdit" CommandName="Edit" CommandArgument='<%# Eval("LoginID")%>' runat="server">编辑</asp:LinkButton>&nbsp;&nbsp;
                            <asp:LinkButton ID="btnDel" CommandName="Del" CommandArgument='<%# Eval("LoginID")%>' OnClientClick="return ShowMsg()" runat="server">删除</asp:LinkButton>&nbsp;&nbsp;
                            <asp:LinkButton ID="btnPwd" CommandName="Pwd" CommandArgument='<%# Eval("LoginID")%>' OnClientClick="return ShowPwdMsg()" runat="server">重置密码</asp:LinkButton></td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <div class="Pager">
            <DingyPager:AspNetPager ID="pagData" runat="server" FirstPageText="首页" LastPageText="末页"
                NextPageText="下页" PageSize="15" PrevPageText="上页"
                ShowMoreButtons="False" ShowPageIndex="False" ShowPageIndexBox="Always" 
                OnPageChanged="pagData_PageChanged" PageIndexBoxType="DropDownList" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条，共%RecordCount%条数据" ShowCustomInfoSection="Left">
            </DingyPager:AspNetPager>
        </div>
</asp:Content>